/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package autodiaryserver;

/**
 *
 * @author thang
 */
public class test {
    public static void main(String[] agrs){
        ConnectionManager.connectDb();
        //int count = 0;
        
        //for ( int i = 0; i < 2; i++ ){
            DataPackager.clearRegistry(Declare.REG_NAME_BUFFER_STARTED);
            DataPackager.clearBuffer();
            //count = DataPackager.fillBuffer(2, 1329981400, 1329981445, 1);
            //count = DataPackager.fillBuffer(1, 1329981000, 1329981445, 1);
            //System.out.println("" + count);
            //if ( count == 0 ) { break;}
        //}
        
        ConnectionManager.disconnectDb();
    }
}
